package com.gengzp.common.model.message.req;

import com.gengzp.common.document.annotations.ApiModel;
import com.gengzp.common.document.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName AddTopicReq
 * @Description 添加主题请求实体
 * @Author gengzp
 * @Date 2025/6/2 15:48
 */
@Data
@ApiModel(description = "添加主题请求实体")
public class AddMqTopicReq implements Serializable {

    @Serial
    private static final long serialVersionUID = -6805543363294039632L;

    /**
     * 主题名
     */
    @NotBlank(message = "主题名不能为空")
    @ApiModelProperty(value = "主题名", required = true)
    private String topicName;

    /**
     * 主题描述
     */
    @ApiModelProperty(value = "主题描述")
    private String topicDescription;

}
